﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Kay.NetworkHelper.Models.Entitys
{
    public class UriHistory
    {
        [Key]
        public Guid Id { get; set; }

        [Required]
        [StringLength(1024)]
        [DataType("varchar")]
        public string Url { get; set; }

        [Required]
        public Method Method { get; set; }

        public ICollection<Arg> Args { get; set; }

        public DateTime CreationTime { get; set; }

        public DateTime? LastModifyTime { get; set; }
    }
}
